<div ng-controller="FaretempCtrl" ng-init="addAction()" class="sui-form form-horizontal">
        <ul class="sui-breadcrumb">
            <li><a href="#/faretemp/list">{{'faretemplate' | translate}}{{'List'| translate}}</a></li>
            <li class="active">{{faretemplate.pid?'edit':'add_new' | translate}}</li>
        </ul>
        <div class="control-group" ng-if="faretemplate.fare_id">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'productid' | translate}}:</label>
            <div class="controls">
                {{faretemplate.fare_id}}
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'Name' | translate}} :</label>
            <div class="controls">
               {{faretemplate.name}}
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'address' | translate}} :</label>
            <div class="controls">
                {{faretemplate.shop_addr}}
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'dispatch_time' | translate}} :</label>
            <div class="controls">
                {{faretemplate.dispatch_time|ddtt}}
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'is_incl_postage' | translate}} :</label>
            <div class="controls">
               {{faretemplate.is_incl_postage|translate}}
            </div>
        </div>
         <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'valuation_model' | translate}} :</label>
            <div class="controls">
            	{{faretemplate.valuation_model}}
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'is_incl_postage_byif' | translate}} :</label>
            <div class="controls">
                {{faretemplate.is_incl_postage_byif|translate}}  
            </div>
        </div>
        <div class="control-group">
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'remark' | translate}} :</label>
            <div class="controls">
                {{faretemplate.remark}}
            </div>
        </div>
         <div class="control-group table-bordered" >
            <label class="control-label v-top"><b style="color: #f00;">*</b> {{'' | translate}} :</label>
            <div class="controls">
                <a class="sui-btn btn-success" ng-click="pushcarry_mode()">{{'添加运送方式'|translate}}</a>
                <table class="sui-table table-bordered">
                    <thead>
                        <th>
                            {{'region'|translate}}
                        </th>
                        <th>
                            {{'num'|translate}}
                        </th>
                        <th>
                            {{'first_weight'|translate}}
                        </th>
                        <th>
                            {{'volume'|translate}}
                        </th>
                        <th>
                            {{'first_amount'|translate}}
                        </th>
                        <th>
                            {{'second_piece'|translate}}
                        </th>
                        <th>
                            {{'second_weight'|translate}}
                        </th>
                        <th>
                            {{'second_bulk'|translate}}
                        </th>
                        <th>
                            {{'second_amount'|translate}}
                        </th>
                        <th>
                            {{'carry_way'|translate}}
                        </th>
                        <th>
                            {{'is_default'|translate}}
                        </th>
                    </thead>
                    <tbody>
                        <tr ng-repeat="carry_mode in faretemplate.carry_modes">
                            <td>
                    		    {{carry_mode.region}}
                            </td>
                            <td>
                             	{{carry_mode.first_piece}}
                            </td>
                            <td>
                                {{carry_mode.first_weight}}
                            </td>
                            <td>
                               {{carry_mode.first_bulk}}
                            </td>
                             <td>
                                {{carry_mode.first_amount}}
                            </td>
                            <td>
                                {{carry_mode.second_piece}}
                            </td>
                            <td>
                                {{carry_mode.second_weight}}
                            </td>
                            <td>
                                {{carry_mode.first_bulk}}
                            </td>
                            <td>
                                {{carry_mode.second_amount}}
                            </td>
                            <td>
                                <!-- <input type="number" name="carry_way" ng-model="carry_mode.carry_way"> -->
                                <carryway-type stype="1" ng-model="carry_mode.carry_way"></carryway-type>
                            </td>
                            <td>
                                {{carry_mode.is_default |translate}}
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
</div>
